package com.flame.system.log.entity;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * flame_operate_log 操作日志表
 *
 * @author 吴欣童
 * @since 2023-02-24 22:22:46
 */
public class OperateLog {

    /**
     * 日志ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long logId;

    /**
     * 用户ID(账号)
     */
    private String userId;

    /**
     * 接口URL
     */
    private String apiUrl;

    /**
     * 耗时
     */
    private long completeDuration;

    /**
     * 请求数据
     */
    private String request;

    /**
     * 响应数据
     */
    private String response;

    /**
     * IP地址
     */
    private String ip;

    /**
     * 操作地点
     */
    private String address;

    /**
     * 浏览器
     */
    private String browserInfo;

    /**
     * 操作系统
     */
    private String operatingSystemInfo;

    /**
     * 操作状态
     */
    private String operateStatus;

    /**
     * 操作日期
     */
    private String operateTime;

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public long getCompleteDuration() {
        return completeDuration;
    }

    public void setCompleteDuration(long completeDuration) {
        this.completeDuration = completeDuration;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public String getResponse() {
        return response;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBrowserInfo() {
        return browserInfo;
    }

    public void setBrowserInfo(String browserInfo) {
        this.browserInfo = browserInfo;
    }

    public String getOperatingSystemInfo() {
        return operatingSystemInfo;
    }

    public void setOperatingSystemInfo(String operatingSystemInfo) {
        this.operatingSystemInfo = operatingSystemInfo;
    }

    public String getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(String operateTime) {
        this.operateTime = operateTime;
    }
}
